package com.yanfan.maintain.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 巡检路线中间表(InspectionRouteMiddle)实体类
 *
 * @author makejava
 * @since 2023-03-22 09:27:54
 */
public class InspectionRouteMiddle implements Serializable {
    private static final long serialVersionUID = 916412433463315603L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 路线id
     */
    private Long routeId;
    /**
     * 路线项id
     */
    private Long clockingId;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 修改时间
     */
    private Date lastModifiedDate;
    /**
     * 路线顺序
     */
    private Integer sort;
    /**
     * 设备id
     *
     * @author caijinkang
     * @date 2023/4/6 9:43
     * @param null
     * @return null
     */
    private Long deviceId;


    public InspectionRouteMiddle() {
    }

    public InspectionRouteMiddle(Long id, Long routeId, Long clockingId, String createdBy, Date createdDate, Date lastModifiedDate, Integer sort, Long deviceId) {
        this.id = id;
        this.routeId = routeId;
        this.clockingId = clockingId;
        this.createdBy = createdBy;
        this.createdDate = createdDate;
        this.lastModifiedDate = lastModifiedDate;
        this.sort = sort;
        this.deviceId = deviceId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRouteId() {
        return routeId;
    }

    public void setRouteId(Long routeId) {
        this.routeId = routeId;
    }

    public Long getClockingId() {
        return clockingId;
    }

    public void setClockingId(Long clockingId) {
        this.clockingId = clockingId;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String toString() {
        return "InspectionRouteMiddle{" + "id=" + id + ", routeId=" + routeId + ", clockingId=" + clockingId + ", createdBy='" + createdBy + '\'' + ", createdDate=" + createdDate + ", lastModifiedDate=" + lastModifiedDate + ", sort=" + sort + '}';
    }
}

